<?php
$email = array(
	'name'	=> 'email',
	'id'	=> 'email',
	'size'	=> 30,
	'value' => set_value('email'),
	'class'	=> 'text-input'
);

$password = array(
	'name'	=> 'password',
	'id'	=> 'password',
	'size'	=> 30,
	'class'	=> 'text-input'
);

$confirmation_code = array(
	'name'	=> 'captcha',
	'id'	=> 'captcha',
	'maxlength'	=> 8,
	'class'	=> 'text-input'
);
?>

<?php echo form_open($this->uri->uri_string(), array("id"=>"login"))?>
				
	<?php $this->load->view($template_path ."commons/notifications");?>
	
	<p>
		<label>Username</label>
		<?php echo form_input($email);?>
	</p>
	<div class="clear"></div>
	<p>
		<label>Password</label>
		<?php echo form_password($password)?>

	</p>
	<div class="clear"></div>
	
	
	<?php if ($show_captcha): ?>
		<p>
			<?php echo form_label("Codigo", $confirmation_code['id']);?>
			<?php echo form_input($confirmation_code);?>
			<div style="text-align: right; margin-bottom: 10px">
				<?php echo $this->redux_auth->get_captcha_image(); ?>
			</div>
		</p>
		
		<div class="clear"></div>
	<?php endif;?>
	
	
	<!-- 
	<p id="remember-password">
		<input type="checkbox" />Remember me
	</p>
	<div class="clear"></div>
	-->
	
	<p>
		<input class="button" type="submit" value="Sign In" />
	</p>
	
	<div class="clear"></div>
	
	<p>
		<a href="">¿Olvidastes tu contraseña?</a>
	</p>
	
	
<?php echo form_close()?>